home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20030409-20031118
/
000158_michel.chamberland@jtax.com_Fri Jun 13 11:16:53 EDT 2003.msg
< prev
next >
Wrap
Text File
|
2020-01-01
|
3KB
|
86 lines
Article: 14386 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!panix!newsfeed!news.maxwell.syr.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: michel.chamberland@jtax.com (mchamber)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: HTTP Proxy in ckermit
Date: 13 Jun 2003 08:13:58 -0700
Organization: http://groups.google.com/
Lines: 67
Message-ID: <f270e7b1.0306130713.2ecc7069@posting.google.com>
References: <f270e7b1.0306121124.4e268ecd@posting.google.com> <bcbt1g$2ph$1@watsol.cc.columbia.edu>
NNTP-Posting-Host: 198.151.35.6
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1055517238 14498 127.0.0.1 (13 Jun 2003 15:13:58 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 13 Jun 2003 15:13:58 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14386
It looks like there is still quite a bit of bugs in the http proxy
code, for example the user variable in http_connect (ckcnet.c) is set
to "" so the if (user) always return true, therfore a
Proxy-authorization and Extension header is always sent even if
authentication is not desired. The /AGENT argument to http commands
seems to have no effect on the headers sent to the server (its always
C-Kermit). An other problem i found is that the proxy code only
support the CONNECT call but this call is not OK with our proxy
because they dont want us to stream anything throught the proxy. It
does support however keeping the connection alive for multiple POST
and GET. I guess ill have to figure out the kermit code and try to fix
it or am I not using kermit right?
Thanks,
mchamber
jaltman@columbia.edu (Jeffrey Altman) wrote in message news:<bcbt1g$2ph$1@watsol.cc.columbia.edu>...
> This should be fixed in the current release.
> Please upgrade.
>
>
> In article <f270e7b1.0306121124.4e268ecd@posting.google.com>,
> mchamber <michel.chamberland@jtax.com> wrote:
> : Hi, I am trying to write a small script to download pages via a proxy
> : using the http protocol. Somehow though it seems that kermit is
> : ignoring the "SET TCP HTTP-PROXY 192.168.40.1:8080" command and tries
> : to connect directly to the host. As you can see from the output below
> : kermit says its trying to connect to the iternet address instead of
> : the 192.168.40.1 proxy. Any pointers would be greatly appreciated.
> :
> : Sincerely,
> : mchamber
> :
> :
> : Here is the relevant part of the script:
> :
> : <snip>
> : #!/usr/bin/kermit +
> :
> : SET TCP HTTP-PROXY 192.168.40.1:8080
> : HTTP OPEN www.slashdot.org 80
> : http close
> : quit
> : </snip>
> :
> : Here is the output of the script:
> :
> : <snip>
> : C-Kermit 8.0.201, 8 Feb 2002, for Linux
> : Numeric: 800201
> : Type COPYRIGHT for copyright information.
> :
> : SET TCP parameters:
> : Reverse DNS lookup: off
> : DNS Service Records lookup: off
> : Keepalive: on
> : Linger: off
> : DontRoute: off
> : Nodelay: off
> : Send buffer: (default size)
> : Receive buffer: (default size)
> : address: (none)
> : http-proxy: 192.168.40.1:8080
> :
> : DNS Lookup... Trying 66.35.250.151... Failed: Connection timed out
> : ?HTTP Connection failed.
> : </snip>